package com.xc.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xc.domain.AjaxResult;
import com.xc.domain.pojo.SysUserPost;
import com.xc.service.SysUserPostService;
import com.xc.mapper.SysUserPostMapper;
import org.springframework.stereotype.Service;

/**
 *
 */
@Service
public class SysUserPostServiceImpl extends ServiceImpl<SysUserPostMapper, SysUserPost>
    implements SysUserPostService{

    @Override
    public void add(SysUserPost sysUserPost) {
        this.baseMapper.insert(sysUserPost);
    }

    @Override
    public void upd(SysUserPost sysUserPost) {
        this.baseMapper.insert(sysUserPost);
    }

    @Override
    public void del(Long roleId) {
        this.baseMapper.deleteById(roleId);
    }
}




